package com.bbzn.device.client.dao.sos;

import com.bbzn.device.client.dataobject.Sos;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SosMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Sos record);

    int insertOrUpdate(Sos record);

    int insertOrUpdateSelective(Sos record);

    int insertSelective(Sos record);

    Sos selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Sos record);

    int updateByPrimaryKey(Sos record);

    List<Sos> findByAll(Sos sos);

    int deleteByImei(@Param("imei") String imei);

    int updateBatch(List<Sos> list);

    int updateBatchSelective(List<Sos> list);

    int batchInsert(@Param("list") List<Sos> list);

    List<Sos> selectSelective(Sos record) throws Exception;
}